python plot in command line